import {request} from "../../utils/request";
import config from "../../utils/config";
import {$wuxCountDown} from '../../lib/index'
const app = getApp();

Page({
    data: {
        custom: wx.getMenuButtonBoundingClientRect(),
        id:'',
        order:{waybill_num:1}
    },
    onLoad: function (options) {
        this.setData({id:options.id})
        request({
            url:"/miniprogram/order/getRefundExpress",
            data:{id:options.id}
        }).then(res=>{
            var order = {waybill:res.data,waybill_num:res.code}
            this.setData({order})
        })
    }
});